//
//  SegmentNavBar.h
//  QTZ
//
//  Created by ski on 2017/8/8.
//  Copyright © 2017年 ski. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ButtonActionBlock)(NSInteger index);

@interface SegmentNavBar : UIView

- (void)setTitleArr:(NSArray *)titleArr;
//点击回调
- (void)didSelectedIndex:(ButtonActionBlock)index;
//点击选项
- (void)selectedIndex:(NSInteger)index;

@end
